cap log close
clear
set more off
global projdir "Q:/dc1prhcmsas01/PU2/code"

*Create two datasets: an unbalanced panel of incumbents to measure separations, and a balanced panel of firms to measure employment
do "$projdir/16_unbalanced_distribution.do"

*Plots the separation rates of incumbents over time (Figure 8a) and estimates diff-in-diff comparing treated to untreated workers
do "$projdir/17_workers_separation.do"

*Plots the diff-in-diff estimates (Figure 8b) and summarizes the estimates in a table (Table 3)
do "$projdir/18_workers_separation_table_figure.do"

*Estimates diff-in-diff regressions comparing highly exposed to unexposed firms
do "$projdir/17_firm_employment_binary.do"

*Plots the firm-exposure diff-in-diff estimates (Figure 9) and summarizes the estimates (Tables 4 and A2)
do "$projdir/18_firm_binary_table_figures - update.do"

*Plots a histogram for the share of workers treated within each firm (Figure A7)
do "$projdir/17_firm_employment.do"

*Provides summary statistics of firms by their exposure to the policy (Table A1)
do "$projdir/19_firm_characteristics.do"

cap log close
